package org.dut.aoptest.Aspect;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Slf4j
@Aspect
//@Component
@Order(2)
public class AspectDemo {
    @Before("org.dut.aoptest.Aspect.TimeAspect.pointcut()")
    public void before(){
        log.info("执行AspectDemo Before 方法");
    }
}
